﻿(function () {

    var CityModel = WinJS.Class.define(function (name, id) {
        name = name,
        id = id
    }, {
        name: "",
        id: ""
    });

    var SectorModel = WinJS.Class.define(function (name, id) {
        name = name,
        id = id
    }, {
        name: "",
        id: ""
    });

    var JobOfferModel = WinJS.Class.define(function (title, link, description, pubDate, category) {
        title = title,
        link = link,
        description = description,
        pubDate = pubDate,
        category = category

    }, {
        title: "",
        link: "",
        description: "",
        pubDate: "",
        category: ""
    });

    var EmploymentModel = WinJS.Class.define(function (name, id) {
        name = name,
        id = id
    }, {
        name: "",
        id: ""
    });

    WinJS.Namespace.define("Models", {
        CityModel: CityModel,
        SectorModel: SectorModel,
        EmploymentModel: EmploymentModel,
        JobOfferModel: JobOfferModel
    })
})()